import { STOP_START_USEING_OPTIONS } from '@/constants/commodity';

export const FORM_ITEMS = [
  {
    prop: 'name',
    label: '标签名称',
    type: 'input'
  },
  {
    prop: 'enableState',
    label: '启用状态',
    type: 'select',
    clearable: true,
    options: STOP_START_USEING_OPTIONS
  },
]

export const TABLE_COLUMNS = [
  {
    title: '标签名称',
    key: 'name'
  },
  {
    title: '标签编码',
    key: 'uuid'
  },
  {
    title: '父级标签',
    key: 'parentName'
  },
  {
    title: '标签描述',
    key: 'description'
  },
  {
    title: '启用状态',
    key: 'enableStateStr'
  },
]
